From: Luc Teirlinck Date: Sun, 8 Aug 2004 16:49:37 +0000 (+0000) Subject: (global-unset-key, local-unset-key): Doc fixes. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~21451 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=70790898c390ad6c757b41bbd4719c24f442ad88;p=emacs.git (global-unset-key, local-unset-key): Doc fixes. --- diff --git a/lisp/subr.el b/lisp/subr.el index 0572446aefc..eb1e5e5df2f 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -2304,13 +2304,13 @@ which in most cases is shared with all other buffers in the same major mode." (defun global-unset-key (key) "Remove global binding of KEY. -KEY is a string representing a sequence of keystrokes." +KEY is a string or vector representing a sequence of keystrokes." (interactive "kUnset key globally: ") (global-set-key key nil)) (defun local-unset-key (key) "Remove local binding of KEY. -KEY is a string representing a sequence of keystrokes." +KEY is a string or vector representing a sequence of keystrokes." (interactive "kUnset key locally: ") (if (current-local-map) (local-set-key key nil))